<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false"%>
<c:set var="cp" scope="session" value="${pageContext.request.servletContext.contextPath}" />
<!DOCTYPE html5>
<html>

<body>
	<div class="login-boxtitle">
		<a href="${cp}/user/toHome.do"><img alt="logo" src="${cp}/images/logobig.jpg" /></a>
	</div>
	<div class="login-banner">
		<div class="login-main">
			<div class="login-banner-bg">
				<span></span><img src="${cp}/images/big.jpg" />
			</div>
			<div class="login-box">
				<h3 class="title">登录商城</h3>
				<div class="clear"></div>
				<div class="login-form">
					<form>
						<div class="user-name">
							<label for="user"><i class="am-icon-user"></i></label> 
							<input type="text" name="userName" id="userName" placeholder="请输入用户名">
						</div>
						<div class="user-pass">
							<label for="password"><i class="am-icon-lock"></i></label> 
							<input type="password" name="password" id="password" placeholder="请输入密码">
						</div>
					</form>
				</div>

				<div class="login-links">
					<label for="remember-me">
					<input id="remember-me" type="checkbox">记住密码</label> 
					<a href="${cp}/user/toForget.do" class="am-fr">忘记密码</a> 
					<a href="${cp}/user/toRegister.do" class="zcnext am-fr am-btn-default">注册</a><br/>
				</div>
				<div class="am-cf">
					<input type="button" name="" value="登 录" onclick="login();" class="am-btn am-btn-primary am-btn-sm">
				</div>
				<font color="red"><span id="loginMsg"></span></font>
				<div class="partner">
					<h3>合作账号</h3>
					<div class="am-btn-group">
						<ul>
							<li><a href="www.qq.com"><i class="am-icon-qq am-icon-sm"></i><span>QQ登录</span></a></li>
							<li><a href="www.sina.com"><i class="am-icon-weibo am-icon-sm"></i><span>微博登录</span> </a></li>
							<li><a href="www.weixin.com"><i class="am-icon-weixin am-icon-sm"></i><span>微信登录</span> </a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>